<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <link type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></link>
    <link type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></link>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/jedate.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Validform/5.3.2/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/drop-down.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>退货管理</title>
</head>
<body data-id="12">
<nav class="breadcrumb">订单管理 <span class="c-gray en">&gt;</span> 退货管理<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <div class="ml-20 mr-20">
        <div class="bg-1 bk-gray pb-10">
            <form id="form-search">
                <div class="pl-10 lh-30 mb-10">
                    <table class="table-hover table_li ml-10 mb-10 table">
                        <thead class="text-l">
                        <tr>
                            <!--<td class="col-3-1">
                                <div class="row ml-10">
                            <span class="select-box size-M radius col-xs-8" style="width:20%">
                            <select class="select" name="brandclass" id="area" size="1">
                            	<option value="">全部</option>
                              <option value="1" selected>北京</option>
                            </select>
                            </span>
                                </div>
                            </td>-->
                        </tr>
                        </thead>
                    </table>
                    <div class="line mb-10"></div>
                    <table class="table-hover table_li ml-10 mb-10 table">
                        <thead class="text-l">
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5" style="margin-left: -3px;">&nbsp;申请编号：</label>
                                    <div class="formControls col-xs-8 col-sm-9">
                                        <input type="text" class="input-text radius kild"  id="applyCode" name="applyCode" placeholder="输入申请编号查询" datatype="n0-9" errormsg="格式错误，请重新输入" ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 85px;" class="form-label f-l pt-5">订&nbsp;单&nbsp;号：</label>
                                    <div class="formControls col-xs-8 col-sm-9" style="margin-left: -14px;">
                                        <input type="text" class="input-text radius kild"  id="orderCode" name="orderCode" placeholder="输入订单号查询" oninput = "value=value.replace(/[\W]/g,'')" maxlength="12">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 69px;" class="form-label f-l pt-5">类型：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:40%">
                              <select class="select kild" name="applyType" id="applyType" size="1">
                                <option value="" selected>选择类型</option>
                                <option value="10">拒收</option>
                                <option value="11">拒收-拦截</option>
                                <option value="20">退货</option>
                              </select>
                              </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5">退货渠道：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:40%;margin-left: 11px;">
                              <select class="select kild" name="applyType" id="returnType" size="1">
                                <option value="" selected>选择退货渠道</option>
                                <option value="10">买家</option>
                                <option value="20">客服</option>
                                <option value="30">门店</option>
                                <option value="40">线下</option>
                              </select>
                              </span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <!--     <div class="row ml-10">
                                         <label style="width: 83px;" class="form-label f-l pt-5">&nbsp;&nbsp;&nbsp;状&nbsp;态&nbsp;：</label>
                                         <span class="select-box size-M radius col-xs-8" style="width:40%">
                                   <select class="select" name="dealState" id="dealState" size="1">
                                     <option value="" selected>选择状态</option>
                                     <option value="10">待审核</option>
                                     &lt;!&ndash;<option value="20">已受理</option>&ndash;&gt;
                                     <option value="30">退货处理</option>
                                     <option value="40">退款处理</option>
                                     <option value="50">已完成</option>
                                     <option value="60">已关闭</option>
                                   </select>
                                   </span>
                                     </div>-->
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5 text-r w-75" style="width: 71px;">交易状态：</label>
                                    <div class="input_box sel_box sel_box02 col-xs-8 col-sm-9">
                                        <input  type="text" class="dataval input-text radius f-l w-180" readonly>
                                        <i class="icon_arrow"></i>
                                        <span class="placeholder02"><span class="all-radius">全部</span></span>
                                        <ul class="ulbox item" style="display: none">
                                            <li class=""><input type="checkbox" crmCustomerId="10,30,40,50,60"><p class="checkboxall">全选</p></li>
                                            <li class="lidata" crmCustomerId="10" crmCustomername="待审核"><input type="checkbox" class="evetyipt"><span>待审核</span></li>
                                            <li class="lidata" crmCustomerId="30" crmCustomername="退货处理" ><input type="checkbox" class="evetyipt"><span>退货处理</span></li>
                                            <li class="lidata" crmCustomerId="40" crmCustomername="退款处理" ><input type="checkbox" class="evetyipt"><span>退款处理</span></li>
                                            <li class="lidata" crmCustomerId="50" crmCustomername="已完成"><input type="checkbox" class="evetyipt"><span>已完成</span></li>
                                            <li class="lidata" crmCustomerId="60" crmCustomername="已关闭" ><input type="checkbox" class="evetyipt"><span>已关闭</span></li>

                                        </ul>
                                    </div>
                                </div>
                            </td>
                             <td class="col-3-1">
                                 <div class="row ml-10">
                                     <label style="width: 69px;" class="form-label f-l pt-5">&nbsp;&nbsp;原因：</label>
                                     <span class="select-box size-M radius col-xs-8" style="width:40%">
                                       <select class="select kild" name="reason" id="reason" size="1">
                                         <option value="" selected>请选择退货原因</option>
                                         <option value="10">商品质量问题</option>
                                          <option value="12">收到商品与网站展示不符(颜色、图片、规格、产地及详情描述)</option>
                                          <option value="50">商品发错/少发/漏发</option>
                                          <option value="13">客户原因无理由退货</option>
                                          <option value="100">未按约定时间发货</option>
                                          <option value="80">到货物流破损</option>
                                          <option value="70">多买/买错不想要了</option>
                                          <option value="14">资质问题</option>
                                          <option value="90">发票问题</option>
                                          <option value="11">其他原因</option>
                                       </select>
                                       </span>
                                 </div>
                             </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5">申请时间：</label>
                                    <div class="f-l">
                                        <input class="workinput wicon input-text radius kild" id="applyTimeMin" type="text" placeholder="起始时间" style="width:115px;margin-left: 11px;" readonly>
                                        ~
                                        <input class="workinput wicon input-text radius kild" id="applyTimeMax" type="text" placeholder="结束时间" style="width:115px;" readonly>
                                    </div>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 83px;" class="form-label f-l pt-5">审核时间：</label>
                                    <div class="f-l">
                                        <input class="workinput wicon input-text radius kild" id="checkTimeMin" type="text" placeholder="起始时间" style="width:115px;margin-left: -1px;">
                                        ~
                                        <input class="workinput wicon input-text radius kild" id="checkTimeMax" type="text" placeholder="结束时间" style="width:115px;">
                                    </div>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5">客户名称：</label>
                                    <div class="formControls col-xs-8 col-sm-9">
                                        <input type="text" class="input-text radius kild"  id="buyerName" name="buyerName"  placeholder="输入买家关键字" datatype="*" errormsg="格式错误，请重新输入" ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 61px;" class="form-label f-l pt-5">&nbsp;审&nbsp;核&nbsp;人：</label>
                                    <div class="formControls col-xs-8 col-sm-9">
                                        <input type="text" class="input-text radius kild"  id="checker" name="checker"  placeholder="输入姓名关键字" datatype="/^[^a-zA-Z1-9]{0,20}$/" errormsg="格式错误，请重新输入" ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style=" width: 80px;" class="form-label f-l pt-5">&nbsp;销售经理：</label>
                                    <div class="formControls col-xs-8 col-sm-9" style="margin-left: -7px;">
                                        <input type="text" class="input-text radius kild"  id="saleManager" name="saleManager"  placeholder="输入姓名关键字" datatype="/^[^a-zA-Z1-9]{0,20}$/" errormsg="格式错误，请重新输入" ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 73px;" class="form-label f-l pt-5">发货仓：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:40%">
                              <select class="select kild" name="brandclass" id="shippingWarehouse" size="1">
                                <option value="" selected>请选择发货仓</option>

                              </select>
                              </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 65px" class="form-label f-l pt-5">&nbsp;&nbsp;收货地：</label>
                                    <span class="select-box size-M radius col-xs-8" style="width:40%;margin-left: 5px;">
                                  <select class="select kild" onchange="discountdata(1)" name="brandclass" id="getArea" size="1">
                                    <option value="" selected>请选择收货区域</option>
                                      <!--<option value="001">北京</option>-->
                                      <!--<option value="002">天津</option>-->
                                  </select>
                                </span>
                                    <span class="select-box size-M radius col-xs-8" style="width:40%">
                                  <select class="select kild" name="brandclass" id="getPlace" size="1">
                                    <option value="" selected>请选择收货位置</option>
                                      <!--<option value="001">北京仓</option>-->
                                      <!--<option value="002">天津仓</option>-->
                                  </select>
                                </span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l pt-5" style="width: 74px;">注册手机号：</label>
                                    <div class="formControls col-xs-8 col-sm-9">
                                        <input type="text" class="input-text radius kild"  id="register_phone" name="register_phone"  placeholder="输入手机号" datatype="n0-11" errormsg="输入格式不正确" ignore="ignore" onKeyUp="value=value.replace(/\s+/g,'')">
                                    </div>
                                    <span class="Validform_checktip"></span>
                                </div>
                            </td>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label style="width: 64px;" class="form-label f-l pt-5 text-r w-75">订单来源：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-180" style="width:40%">
                                          <select class="select kild" name="brandclass" id="platform" size="1">
                                            <option value="0" selected>全部</option>
                                            <option value="10">普通平台</option>
                                            <option value="20">签约平台</option>
                                          </select>
                                      </span>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="col-3-1">
                                <div class="row ml-10">
                                    <label class="form-label f-l lh-26 text-r w-60">支付方式：</label>
                                    <span class="select-box size-M radius col-xs-8 ml-10 w-155" style="width:34%">
                                          <select class="select" name="brandcslass" id="payWay" size="1">
                                            <option value="" selected>请选择支付方式</option>
                                            <option value="1001">在线支付</option>
                                            <option value="1201">账期支付</option>
                                            <option value="1301">银行转账</option>
                                            <option value="1101">货到付款</option>
                                            <option value="1701">门店付款</option>
                                          </select>
                                      </span>
                                </div>
                            </td>
                        </tr>
                        </thead>
                    </table>
                </div>
                <div class="text-c pb-20 pt-10">
                    <input type="submit"  class="btn btn-secondary radius size-S powerButton 124"  value="搜&nbsp;&nbsp;索">
                    <input name="" id="ssss" type="reset" onclick="resetDiv()" class="btn radius size-S ml-10 powerButton 124" value="重&nbsp;&nbsp;置">
                </div>
            </form>
            <table class="table table-border table-bg table-hover table-sort mt-10 tableclass" id="datatable">
                <thead>
                    <tr class="text-c">
                        <th width="150">商品</th>
                        <th width="30">退货渠道</th>
                        <th width="50">客户名称</th>
                        <th width="50">类型</th>
                        <th width="50">原因</th>
                        <th width="50">退款金额</th>
                        <th width="50">申请日期</th>
                        <th width="50">审核日期</th>
                        <th width="50">状态</th>
                        <th width="50">操作</th>
                    </tr>
                </thead>
        </table>
        <div id="orderList" class="tableclass" style="padding-bottom:20px;"></div>
        
       
       
        <div class="dataTables_wrapper goods_fanye clearfix mt-5">
            <div class="f-r pageturning M-box3"></div>
        </div>

        </div>
    </div>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/warehouse.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../../ht-js/order/afterSale-return.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script>
    $(function(){
        $("#form-search").Validform({
            tiptype:2,
            callback:function(form){
                console.log(111)
                getList(1);
                return false;
            }
        });
    })
    function timeSet(startEl,endEl,timeFormat){
        /*startEl=>开始时间Input的id，endEl=>结束时间Input的id，时间格式（YYYY-MM-DD hh:mm:ss  YYYY年MM月DD日 hh:mm:ss）*/
        /*时间设置*/
        var thisMaxTime = $.nowDate().substring(0,$.nowDate().length-8)+"23:59:59";
        var start = {
            format: timeFormat,
            maxDate: thisMaxTime,
            okfun: function(obj){
                end.minDate = obj.val.substring(0,obj.val.length-5)+"00:00:00"; //开始日选好后，重置结束日的最小日期
            }
        };
        var end = {
            format: timeFormat,
            maxDate: thisMaxTime,
            okfun: function(obj){
                start.maxDate = obj.val.substring(0,obj.val.length-5)+"23:59:59"; //将结束日的初始值设定为开始日的最大日期
            }
        };
        $.jeDate(startEl,start);
        $.jeDate(endEl,end);
    }
    timeSet("#applyTimeMin","#applyTimeMax","YYYY-MM-DD hh:mm");
    timeSet("#checkTimeMin","#checkTimeMax","YYYY-MM-DD hh:mm");
</script>
</body>
</html>